﻿@page "/test"
@layout Shared.EmptyLayout

<ToastContainer/>

<Button @onclick="@(e=>ToastService.ShowSuccess("Success"))">Success</Button>
<Button @onclick="@(e=>ToastService.ShowError("Error"))">Error</Button>

@inject IToastService ToastService